import request from '@/utils/request'

/**
 * 获取仪表板数据
 * @param timeRange 时间范围 (7d, 30d, 90d)
 */
export function getDashboardData(timeRange: string) {
  return request({
    url: '/api/study/questions/dashboard',
    method: 'get',
    params: {
      timeRange
    }
  })
}